package com.safety51.bi.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class ChartConfig {
    private Long id;
    private String chartId;
    private String chartName;
    private String chartType; // line, bar, pie, table, number
    private String chartSubtype; // ring, stack_bar, etc.
    private String displayType; // chart, number, table
    private String dataSource;
    private List<DimensionConfig> dimensions;
    private List<MetricConfig> metrics;
    private List<FilterConfig> filters;
    private String numberFormat;
    private CompareConfig compareConfig;
    private ExportConfig exportConfig;
    private Map<String, Object> optionsTemplate;
    private Date createdTime;
    private Date updatedTime;
}